//自定义配置
import Layout from '@/layout'
export default {
    path: '/customFields',
    component: Layout,
    redirect: '/customFields/material',
    children: [{
        path: '/customFields/material',
        component: () => import('@/view/customFields/material'),
        meta: {
            title: '默通工单',
            breadList: [{
                    name: '自定义配置',
                    to: ''
                },
                {
                    name: '产品',
                    to: ''
                },
            ],
            permCode: 'product.custom.field'
        },
    }, {
        path: '/customFields/material/create',
        component: () => import('@/view/customFields/material/create'),
        meta: {
            title: '默通工单',
            activePath: '/customFields/material',
            breadList: [{
                    name: '自定义配置',
                    to: '/customFields'
                },
                {
                    name: '产品',
                    to: '/customFields'
                },
                {
                    name: '创建',
                    to: ''
                },
            ],
            permCode: 'product.field.create'
        }
    }, {
        path: '/customFields/material/edit',
        component: () => import('@/view/customFields/material/edit'),
        meta: {
            title: '默通工单',
            activePath: '/customFields/material',
            breadList: [{
                    name: '自定义配置',
                    to: '/customFields'
                },
                {
                    name: '产品',
                    to: '/customFields'
                },
                {
                    name: '编辑',
                    to: ''
                },
            ],
            permCode: 'product.field.edit'
        }
    }, {
        path: '/customFields/process',
        component: () => import('@/view/customFields/process'),
        meta: {
            title: '默通工单',
            breadList: [{
                    name: '自定义配置',
                    to: ''
                },
                {
                    name: '工序',
                    to: ''
                },
            ],
            permCode: 'process.custom.field'
        }
    }, {
        path: '/customFields/process/create',
        component: () => import('@/view/customFields/process/create'),
        meta: {
            title: '默通工单',
            activePath: '/customFields/process',
            breadList: [{
                    name: '自定义配置',
                    to: '/customFields'
                },
                {
                    name: '工序',
                    to: '/customFields/process'
                },
                {
                    name: '创建',
                    to: ''
                },
            ],
            permCode: 'process.field.create'
        }
    }, {
        path: '/customFields/process/edit',
        component: () => import('@/view/customFields/process/edit'),
        meta: {
            title: '默通工单',
            activePath: '/customFields/process',
            breadList: [{
                    name: '自定义配置',
                    to: '/customFields'
                },
                {
                    name: '工序',
                    to: '/customFields/process'
                },
                {
                    name: '编辑',
                    to: ''
                },
            ],
            permCode: 'process.field.edit'
        }
    }, {
        path: '/customFields/workOrder',
        component: () => import('@/view/customFields/workOrder'),
        meta: {
            title: '默通工单',
            breadList: [{
                    name: '自定义配置',
                    to: ''
                },
                {
                    name: '工单',
                    to: ''
                },
            ],
            permCode: 'project.custom.field'
        }
    }, {
        path: '/customFields/workOrder/create',
        component: () => import('@/view/customFields/workOrder/create'),
        meta: {
            title: '默通工单',
            activePath: '/customFields/workOrder',
            breadList: [{
                    name: '自定义配置',
                    to: '/customFields'
                },
                {
                    name: '工单',
                    to: '/customFields/workOrder'
                },
                {
                    name: '创建',
                    to: ''
                },
            ],
            permCode: 'project.field.create'
        }
    }, {
        path: '/customFields/workOrder/edit',
        component: () => import('@/view/customFields/workOrder/edit'),
        meta: {
            title: '默通工单',
            activePath: '/customFields/workOrder',
            breadList: [{
                    name: '自定义配置',
                    to: '/customFields'
                },
                {
                    name: '工单',
                    to: '/customFields/workOrder'
                },
                {
                    name: '编辑',
                    to: ''
                },
            ],
            permCode: 'project.field.edit'
        }
    }, {
        path: '/customFields/reportWork',
        component: () => import('@/view/customFields/reportWork'),
        meta: {
            title: '默通工单',
            breadList: [{
                    name: '自定义配置',
                    to: ''
                },
                {
                    name: '报工',
                    to: ''
                },
            ],
            permCode: 'output.custom.field'
        }
    }, {
        path: '/customFields/reportWork/create',
        component: () => import('@/view/customFields/reportWork/create'),
        meta: {
            title: '默通工单',
            activePath: '/customFields/reportWork',
            breadList: [{
                    name: '自定义配置',
                    to: '/customFields'
                },
                {
                    name: '报工',
                    to: '/customFields/reportWork'
                },
                {
                    name: '创建',
                    to: ''
                },
            ],
            permCode: 'output.field.create'
        }
    }, {
        path: '/customFields/reportWork/edit',
        component: () => import('@/view/customFields/reportWork/edit'),
        meta: {
            title: '默通工单',
            activePath: '/customFields/reportWork',
            breadList: [{
                    name: '自定义配置',
                    to: '/customFields'
                },
                {
                    name: '报工',
                    to: '/customFields/reportWork'
                },
                {
                    name: '编辑',
                    to: ''
                },
            ],
            permCode: 'output.field.edit'
        }
    }, {
        path: '/customFields/reportWork/checkRules',
        component: () => import('@/view/customFields/reportWork/checkRules'),
        meta: {
            title: '默通工单',
            activePath: '/customFields/reportWork',
            breadList: [{
                    name: '自定义配置',
                    to: '/customFields'
                },
                {
                    name: '报工',
                    to: '/customFields/reportWork'
                },
                {
                    name: '检验规则',
                    to: ''
                },
            ],
            permCode: 'output.field.checkRules'
        }
    }, {
        path: '/customFields/inventoryManagement',
        component: () => import('@/view/customFields/inventoryManagement'),
        meta: {
            title: '默通工单',
            breadList: [{
                    name: '自定义配置',
                    to: ''
                },
                {
                    name: '出入库单',
                    to: ''
                },
            ],
            permCode: 'stock.custom.field'
        }
    }, {
        path: '/customFields/inventoryManagement/create',
        component: () => import('@/view/customFields/inventoryManagement/create'),
        meta: {
            title: '默通工单',
            activePath: '/customFields/inventoryManagement',
            breadList: [{
                    name: '自定义配置',
                    to: '/customFields'
                },
                {
                    name: '出入库单',
                    to: '/customFields/inventoryManagement'
                },
                {
                    name: '创建',
                    to: ''
                },
            ],
            permCode: 'stock.field.create'
        }
    }, {
        path: '/customFields/inventoryManagement/edit',
        component: () => import('@/view/customFields/inventoryManagement/edit'),
        meta: {
            title: '默通工单',
            activePath: '/customFields/inventoryManagement',
            breadList: [{
                    name: '自定义配置',
                    to: '/customFields'
                },
                {
                    name: '出入库单',
                    to: '/customFields/inventoryManagement'
                },
                {
                    name: '编辑',
                    to: ''
                },
            ],
            permCode: 'stock.field.edit'
        }
    }, {
        path: '/customFields/inventoryDetails',
        component: () => import('@/view/customFields/inventoryDetails'),
        meta: {
            title: '默通工单',
            breadList: [{
                    name: '自定义配置',
                    to: ''
                },
                {
                    name: '出入库明细',
                    to: ''
                },
            ],
            permCode: 'stock.detail.custom.field'
        }
    }, {
        path: '/customFields/inventoryDetails/create',
        component: () => import('@/view/customFields/inventoryDetails/create'),
        meta: {
            title: '默通工单',
            activePath: '/customFields/inventoryDetails',
            breadList: [{
                    name: '自定义配置',
                    to: '/customFields'
                },
                {
                    name: '出入库明细',
                    to: '/customFields/inventoryDetails'
                },
                {
                    name: '创建',
                    to: ''
                },
            ],
            permCode: 'stock.detail.field.create'
        }
    }, {
        path: '/customFields/inventoryDetails/edit',
        component: () => import('@/view/customFields/inventoryDetails/edit'),
        meta: {
            title: '默通工单',
            activePath: '/customFields/inventoryDetails',
            breadList: [{
                    name: '自定义配置',
                    to: '/customFields'
                },
                {
                    name: '出入库明细',
                    to: '/customFields/inventoryDetails'
                },
                {
                    name: '编辑',
                    to: ''
                },
            ],
            permCode: 'stock.detail.field.edit'
        }
    }, {
        path: '/customFields/user',
        component: () => import('@/view/customFields/user'),
        meta: {
            title: '默通工单',
            breadList: [{
                    name: '自定义配置',
                    to: ''
                },
                {
                    name: '用户',
                    to: ''
                },
            ],
            permCode: 'user.custom.field'
        }
    }, {
        path: '/customFields/user/create',
        component: () => import('@/view/customFields/user/create'),
        meta: {
            title: '默通工单',
            activePath: '/customFields/user',
            breadList: [{
                    name: '自定义配置',
                    to: '/customFields'
                },
                {
                    name: '用户',
                    to: '/customFields/user'
                },
                {
                    name: '创建',
                    to: ''
                },
            ],
            permCode: 'user.field.create'
        }
    }, {
        path: '/customFields/user/edit',
        component: () => import('@/view/customFields/user/edit'),
        meta: {
            title: '默通工单',
            activePath: '/customFields/user',
            breadList: [{
                    name: '自定义配置',
                    to: '/customFields'
                },
                {
                    name: '用户',
                    to: '/customFields/user'
                },
                {
                    name: '编辑',
                    to: ''
                },
            ],
            permCode: 'user.field.edit'
        }
    }, {
        path: '/customFields/numberCustomField',
        component: () => import('@/view/customFields/numberCustomField'),
        meta: {
            title: '默通工单',
            activePath: '/customFields/numberCustomField',
            breadList: [{
                    name: '自定义配置',
                    to: '/customFields'
                },
                {
                    name: '自定义编号规则',
                    to: ''
                }
            ],
            permCode: 'form.custom.field'
        }
    }]
}